﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineManagement.Model
{
    /// <summary>
    /// 操作类抽象类，比如对母猪的操作：分娩、断奶等。。
    /// </summary>
   [Serializable]
    public class OnlineActions 
    {
       public int PropagateStateOrder { get; set; }
       public int ActionOrder { get; set; }
       public string ActionName { get; set; }
       public OnlineActions() {
       }
    }

   public class SowOperations {
       /// <summary>
       ///  母猪繁殖期顺序，1-后备期, 2-发情配种期，3-怀孕期，4-分娩期，5-哺乳期，6-空怀期
       /// </summary>
       public int SowPropagateStateOrder { get; set; }

       /// <summary>
       /// 母猪繁殖期名称，后备期, 发情配种期，怀孕期，分娩期，哺乳期，空怀期
       /// </summary>
       public string PropagateStateName { get; set; }
       /// <summary>
       /// eg.后备期(1-'发情登记',2-'转栏登记',3-'预防保健登记',4-'诊疗登记',5-'淘汰销售登记',6-'死亡登记')
       /// 发情配种期()
       /// </summary>
       public int ActionOrder { get; set; }

       /// <summary>
       /// usercontrol path
       /// </summary>
       public string UCControlPath { get; set; }

      
   }
    
  
}
